package com.demon.net.handler

import android.content.Context

/**
 * 类简要描述
 * <p/>
 * <p>
 * 类详细描述
 * </p>
 *
 * @author zhaozeyang
 * @date 2020/8/26
 */
class DefaultNetErrorHandler(val context: Context) : INetErrorHandler {
  override fun handleApiError(
    code: Int,
    message: String?
  ) {
//    context.shortToast(message)
  }

  override fun handleHttpError() {
//    context.shortToast(R.string.server_error)
  }

  override fun handleSessionExpired(message: String?) {
//    context.shortToast(message)
  }
}